﻿<Window x:Class="HttpDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="数据演示系统" Height="708" Width="1024" xmlns:my="clr-namespace:IMap;assembly=IMap">
    <Grid Width="1010">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="849*" />
            <ColumnDefinition Width="161" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="630*" />
            <RowDefinition Height="39*" />
        </Grid.RowDefinitions>
        <my:MapContainer Height="624" Width="843" HorizontalAlignment="Left" Name="iMapContainer" VerticalAlignment="Top">            
        </my:MapContainer>
        <Button Content="Zoom out" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,56,0,0" Name="btnZout" VerticalAlignment="Top" Width="75" Click="btnZout_Click" />
        <Button Content="Zoom in" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,12,0,0" Name="btnZin" VerticalAlignment="Top" Width="75" Click="btnZin_Click" />
        <Label Content="Label" Grid.Column="1" Height="52" HorizontalAlignment="Left" Margin="0,236,0,0" Name="label1" VerticalAlignment="Top" Width="114" />
        <TextBox Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,341,0,0" Name="textBox1" VerticalAlignment="Top" Width="89" />
        <Button Content="扫描范围" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,302,0,0" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
        <TextBox Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,392,0,0" Name="textBox2" VerticalAlignment="Top" Width="99" />
        <TextBox Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,438,0,0" Name="textBox3" VerticalAlignment="Top" Width="99" />
        <Button Content="添加标注" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,478,0,0" Name="button4" VerticalAlignment="Top" Width="75" Click="button4_Click" />
        <RadioButton Content="地图" Grid.Column="1" Height="16" HorizontalAlignment="Left" Margin="23,542,0,0" Name="radioWebMap" VerticalAlignment="Top" Checked="radioWebMap_Checked" />
        <RadioButton Content="卫星" Grid.Column="1" Height="16" HorizontalAlignment="Left" Margin="23,564,0,0" Name="radioSatellite" VerticalAlignment="Top" Checked="radioSatellite_Checked" />
        <Button Content="测量距离" Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,586,0,0" Name="btnSurvey" VerticalAlignment="Top" Width="75" Click="btnSurvey_Click" />
        <Slider Height="141" HorizontalAlignment="Left" Margin="107,12,0,0" Name="slider1" VerticalAlignment="Top" Width="33" Orientation="Vertical" Grid.Column="1" SmallChange="1" Maximum="19" LargeChange="2" Minimum="1" ValueChanged="slider1_ValueChanged" Value="10" />
        <StatusBar Grid.Row="1" Height="35" HorizontalAlignment="Left" Name="statusBar1" VerticalAlignment="Top" Width="843" />
        <CheckBox Content="显示网格" Grid.Column="1" Height="16" HorizontalAlignment="Left" Margin="23,520,0,0" Name="chkShowGrid" VerticalAlignment="Top" Checked="chkShowGrid_Checked" Unchecked="chkShowGrid_Unchecked" />
    </Grid>
</Window>
